{% extends "base.html" %}
{% block title %}  {% endblock %}
{% block head %}
	{{ parent() }}
{% endblock %}


{%block css%}
		<link rel="stylesheet" href="views/css/style.css">
		<link rel="stylesheet" href="views/css/navbar/navbar.css">
		<link rel="stylesheet" href="views/css/navbar/navbar_2.css">
{%endblock%}


{%block header %}	
		<header> 
			<div class="header">

					<div class="head">
					<div class="logo_main">
						<img src="views/img/logo_main.png" alt="">
					</div>
					<div class="head-right">
						{{ render('/authcontrol') }}	
						<div class="search">
							<div>
								<input type="text"><button class="button-blue">  >> </button>
							</div>
						</div>
					</div>
				</div>


				<div class="navbar">
				  <div class="navbar-inner">
				    <ul class="nav">
				      <li ><a href="{{base_url}}">ГЛАВНАЯ</a></li>
				      <li class="divider-vertical"></li>
				      <li><a href="{{base_url}}project">О ПРОЕКТЕ</a></li>
				      <li class="divider-vertical"></li>
				      <li  ><a href="{{base_url}}garant">ГАРАНТИИ</a></li>
				      <li class="divider-vertical"></li>
				      <li><a href="{{base_url}}contacts">КОНТАКТЫ</a></li>
				      <li class="divider-vertical"></li>
				      <li class="active"><a href="{{base_url}}about">О НАС</a></li>
				    </ul>
				  </div>
				</div>
			</div>
		</header>



{% endblock%}

	

{% block content %}
		
	
		{% if user_var.role < 3 %}
				<button data-bind="click:views.editor.enable">Edit</button>
				<button data-bind="click:views.editor.disable">Cancel</button>
				<button data-bind="click:views.editor.save">Save</button>
				<script>
					window.views = window.views || {};	
					window.views.editor = window.views.editor || {};	
					window.views.editor.base_url = "{{base_url}}";
					window.views.editor.url = "{{text_url}}" ;
				</script>
		{% endif %}


		{{ render('/texts/garant') }}		


{% endblock %}




{% block footer %}

		<footer>
			<div class="footer">
				<div class='paysystem'>
					<table>
						<tr>
							<td><img src="views/img/paysystem_icon_11.png" alt=""></td>
							<td><img src="views/img/paysystem_icon_12.png" alt=""></td>
							<td><img src="views/img/paysystem_icon_13.png" alt=""></td>
						</tr>
						<tr>
							<td><img src="views/img/paysystem_icon_21.png" alt=""></td>
							<td><img src="views/img/paysystem_icon_22.png" alt=""></td>
							<td><img src="views/img/paysystem_icon_23.png" alt=""></td>
						</tr>
						<tr>
							<td><img src="views/img/paysystem_icon_31.png" alt=""></td>
							<td><img src="views/img/paysystem_icon_32.png" alt=""></td>
							<td><img src="views/img/paysystem_icon_33.png" alt=""></td>
						</tr>
					</table>
				</div>




				<div class="bottom-menu">
					<table>
						<tr>
							<td>
								<ul>
									<li>Главная</li>
									<li>Новости</li>
									<li>О проекте</li>
									<li>Контакты</li>
								</ul>
							</td>
							<td>
								<ul>
									<li>О нас</li>
									<li>Блог</li>
									<li>Проекты</li>
									<li>Наша сеть</li>
								</ul>
							</td>
						</tr>
					</table>
				</div>
				<div class="socnet">
					Мы в сети <br>
					<img src="views/img/net_icon_1.png" alt="">	
					<img src="views/img/net_icon_2.png" alt="">	
					<img src="views/img/net_icon_3.png" alt="">	
					<img src="views/img/net_icon_4.png" alt="">	
					<img src="views/img/net_icon_5.png" alt="">	
					<img src="views/img/net_icon_6.png" alt="">	
				</div>
			</div>	
			
		</footer>



{% endblock %}





{% block scripts %}
	
	<script src="views/lib/tinymce/tinymce.min.js"></script>
	<script src="views/js/auth.js"></script>
	<script src="views/js/garant.js"></script>
	
{% endblock %}
